package com.prime.common.constants;

public class ApiConstants {

    //接口返回信息 相关变量
    public static final String ERROR = "1";
    public static final String SUCCESS = "0";

    //返回消息
    public static final String GET_S_MSG = "查询成功";
    public static final String GET_F_MSG = "查询失败";
    public static final String ADD_S_MSG = "新增成功";
    public static final String ADD_F_MSG = "新增失败";
    public static final String DEL_S_MSG = "删除成功";
    public static final String DEL_F_MSG = "删除失败";
    public static final String UPDATE_S_MSG = "修改成功";
    public static final String UPDATE_F_MSG = "修改失败";

    public static final String ID = "id"; // is constant because it's used for the controller mapping

}
